package com.sunnada.btfvilg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 *
 * @author hcx
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user")
@ApiModel(value="User对象", description="")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "uid")
    private String uid;

    @ApiModelProperty(value = "用户名")
    @TableField("uname")
    private String uname;

    @ApiModelProperty(value = "密码")
    @TableField("upassword")
    private String upassword;

    @ApiModelProperty(value = "手机号")
    @TableField("uphone")
    private String uphone;

    @ApiModelProperty(value = "性别")
    @TableField("usex")
    private String usex;


}
